package com.walter.security;

import java.util.Arrays;
import java.util.List;

/**
 * Created by ch on 2019-06-03.
 * FOR: 设置 spring-security 允许匿名访问的路由 【也可以配置文件的方式】todo
 */
public class FreeRoutersConst {
    public static final List<String> anonRouters = Arrays.asList(
            "/swagger-ui.html",
            "/swagger-resources/configuration/ui",
            "/swagger-resources",
            "/swagger-resources/configuration/security",
            "/v2/api-docs",
            "/webjars/springfox-swagger-ui/**",
            "/",
            "/api/auth/login",
            "/api/auth/lxLogin",
            "/api/auth/refresh/**",
            "/api/unAuth/**",
            "/api/download/importQuestionsTemplet",
            "/api/statistics/**",
            "/api/questionaire/exportQuestionListInfo/**"
    );
}
